.PHONY:all
all:calcserver client

calcserver:tcp_server.cc
	g++ $^ -o $@ -std=c++11 -lpthread -ljsoncpp

client:tcp_client.cc
	g++ $^ -o $@ -std=c++11 -ljsoncpp

.PHONY:clean
clean:
	rm -f calcserver client calclog.txt